﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
	xmlns:local="clr-namespace:SurveyControl.Controls" 
	xmlns:a="clr-namespace:System;assembly=mscorlib"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
	xmlns:System="clr-namespace:System;assembly=mscorlib" 
	mc:Ignorable="d">

	<Style TargetType="local:NavigationPart" BasedOn="{StaticResource NavigationPartStyle}"/>

	<Style TargetType="local:QuestionControl" BasedOn="{StaticResource QuestionControlStyle}"/>
	
	<Style TargetType="local:QuestionPart">
		<Setter Property="Background" Value="LightGreen"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:QuestionPart">
					<StackPanel Background="{TemplateBinding Background}">
						<TextBlock Text="QuestionPart"/>
						<ContentControl Content="{TemplateBinding SelectedItem}"/>
					</StackPanel>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style TargetType="local:SurveyControl" BasedOn="{StaticResource SurveyControlStyle}"/>

</ResourceDictionary>
